package ss9999999999;

public abstract class Animals {
    String name;
    int age;
    String color;
    Animals(String name,int age,String color){
        this.name=name;
        this.age=age;
        this.color=color;
    }
    abstract void eat();
    void sayHi(){
        System.out.println("我是"+name+"今年"+age+"岁了，我是"+color);
    }

}
